package cn.btks.commonserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 目录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {

    private Integer menuId;

    private String icon;

    private String name;

    private String perms;

    private Integer level;

    private Integer parentId;

    private String path;

    private String url;

    //角色单向多对多:配置中间表
    //多对多:一个员工可以拥有多个角色，一个角色可以对应多个员工
    private List<ManageRole> manageRoles;

}